#!usr/bin/node

function longTask() {
  let total = 0;
  for(var i=0;i<10000;i++) {
    for(var j=0;j<10000;j++) {
      total += i + j;
    }
  }
  return total;
}

console.time("TEST");
console.log("total:",longTask());
console.timeEnd("TEST");
